﻿using System;
using System.Collections.Generic;
using System.Text;
using Model;

namespace IDAL
{
    public interface IDatabaseInfo
    {

        string ServerName
        {
            get;
            set;
        }

        bool IsWindow
        {
            get;
            set;
        }

        string UID
        {
            get;
            set;
        }

        string PWD
        {
            get;
            set;
        }

        string DatabaseName
        {
            get;
            set;
        }

        bool ConnServer();

        List<DatabaseModel> GetDatabaseList();

        List<TableModel> GetTableList();

        List<FieldModel> GetFieldList(string Table);
    }
}
